package com.example.observerPattern;


public class ObserverPatternDemo {

    public static void main(String[] args) {
        Subject subject = new Subject();

        new HexaObserver(subject);

        subject.setState(10);
    }


}